cda31217ef4f6277e5984d7543ab6545cd17e79f,Core/src/org/sleuthkit/autopsy/timeline/db/EventsRepository.java,DBPopulationWorker,populateEventType,#ArtifactEventType#EventDB.EventTransaction#,697

Before Change


                    try {
                        //for each artifact, extract the relevant information for the descriptions
                        insertEventForArtifact(type, blackboardArtifacts.get(i), trans);
                        update(new ProgressUpdate(i, numArtifacts,
                                Bundle.progressWindow_populatingXevents(type.getDisplayName())));
                    } catch (TskCoreException ex) {
                        LOGGER.log(Level.SEVERE, "There was a problem inserting event for artifact: " + blackboardArtifacts.get(i).getArtifactID(), ex); // NON-NLS
                    }

After Change


                progressHandle.finish();
                progressHandle = ProgressHandleFactory.createHandle(Bundle.progressWindow_populatingXevents(type.getDisplayName()), () -> cancel(true));
                progressHandle.start(numArtifacts);
                updateTitle(Bundle.progressWindow_populatingXevents(type.getDisplayName()));
                for (int i = 0; i < numArtifacts; i++) {
                    try {
                        //for each artifact, extract the relevant information for the descriptions
                        insertEventForArtifact(type, blackboardArtifacts.get(i), trans);
                        updateProgress(i, numArtifacts);
                    } catch (TskCoreException ex) {
                        LOGGER.log(Level.SEVERE, "There was a problem inserting event for artifact: " + blackboardArtifacts.get(i).getArtifactID(), ex); // NON-NLS
                    }